<template>
  <el-button
    class="refresh-btn"
    size="small"
    type="warning"
    @click="refreshCurPage"
  >
    <i class="el-icon-refresh"></i>
  </el-button>
</template>

<script>
export default {
  name: 'freshCom',
  msg: '',
  data() {
    return {}
  },
  mounted() {},
  methods: {
    /*刷新页面*/
    refreshCurPage() {
      this.$emit('searchList')
    }
  }
}
</script>

<style lang="less">
.refresh-btn {
  float: right;
  padding: 6px 10px !important;
  margin-right: 8px !important;
}
</style>
